package com.dt76.smallloanbackenduser.hystrix.xiaohao;

import com.dt76.smallloanbackenduser.pojo.xiaohao.BorrowOrder;
import com.dt76.smallloanbackenduser.pojo.xiaohao.BorrowOrderQuery;
import com.dt76.smallloanbackenduser.remote.xiaohao.BorrowOrderRemote;
import com.dt76.smallloanbackenduser.utils.Page;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Component
public class BorrowOrderHystrix implements BorrowOrderRemote {

    @Override
    public Page qryAllOrder(@RequestParam("currentPageNo") Integer currentPageNo) {
        return null;
    }

    @Override
    public Page qryAllOrderByPage(@RequestParam("currentPageNo")Integer currentPageNo,@RequestBody BorrowOrderQuery borrowOrderQuery) {
        return null;
    }

    @Override
    public BorrowOrder qryByID(@RequestParam("id")int id) {
        return null;
    }

    @Override
    public Page qryAllContract(@RequestParam("currentPageNo")Integer currentPageNo,@RequestBody BorrowOrderQuery borrowOrderQuery) {
        return null;
    }

    @Override
    public int modifyBorrowOrderType(@RequestBody BorrowOrder borrowOrder) {
        return 0;
    }
}
